package com.soft.action.page;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @program: garbgeSpringboot
 * @description: 页面跳转控制器
 * @create: 2022-05-19 21:38
 **/
@Controller
@RequestMapping("/page")
public class PageController {


    @RequestMapping("/toIndex")
    public String toIndexP() {

        return "index";
    }

    @RequestMapping("/toAdmin")
    public String toAdmin() {

        return "admin";
    }

    @RequestMapping("/toBusiness")
    public String toBusiness() {

        return "business";
    }

    @RequestMapping("/toSearch")
    public String toSearch() {

        return "search";
    }
}